using System;
using System.ComponentModel;

namespace qPrintComponent
{
    public sealed class qDefaultSourceConverter : TypeConverter
    {
        public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
        {
            return new StandardValuesCollection(PrintComponent.SafePrinterHandle.PrinterInfoQ.sBinNames);
        }

        public override bool GetStandardValuesSupported(ITypeDescriptorContext context)
        {
            return true;
        }
    }
}
